package cn.gpdi.framework.pojo;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 * 数据传输对象。用于前后端交互。
 * Created by 司徒鑫(QQ:156845600) on 2018/7/26.
 */
public class FwTextTransObject {
    private HttpServletRequest request; //请求
    private HttpServletResponse response;   //响应
    private HttpSession session;    //会话

    private Object dataObject;            //前台传入参数(JSON) 可能是MAP 或 LIST.

    public HttpServletRequest getRequest() {
        return request;
    }


    public void setRequest(HttpServletRequest request) {
        this.request = request;
    }

    public HttpServletResponse getResponse() {
        return response;
    }

    public void setResponse(HttpServletResponse response) {
        this.response = response;
    }

    public HttpSession getSession() {
        return session;
    }

    public void setSession(HttpSession session) {
        this.session = session;
    }

    public Object getDataObject() {
        return dataObject;
    }

    public void setDataObject(Object dataObject) {
        this.dataObject = dataObject;
    }
}
